package com.cskaoyan.vo;



import com.cskaoyan.bean.Goods;
import com.cskaoyan.bean.GoodsAttribute;
import com.cskaoyan.bean.GoodsProduct;
import com.cskaoyan.bean.GoodsSpecification;
import lombok.Data;

import java.util.List;

@Data
public class DetailGoodsVo {
    private Goods goods;
    private List<GoodsAttribute> attributes;
    private List<GoodsSpecification> specifications;
    private List<GoodsProduct> products;

    public DetailGoodsVo(Goods goods, List<GoodsAttribute> attributes, List<GoodsSpecification> specifications, List<GoodsProduct> products) {
        this.goods = goods;
        this.attributes = attributes;
        this.specifications = specifications;
        this.products = products;
    }

    public DetailGoodsVo() {
    }
}
